<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">  
<html>  
<head>  
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">  
<title>${dto.dymcformName}</title>  
<script src="${cdnAddress}/js/boot.js" type="text/javascript"></script> 
 <script src="${scripts}/tabledefine/ueditor/form-design/js/base64.js" type="text/javascript"></script>
 <script type="text/javascript" charset="utf-8" src="${scripts}/tabledefine/ueditor/form-design/js/subtable.js${cacheVersion}"></script>
 <script type="text/javascript" charset="utf-8" src="${scripts}/tabledefine/ueditor/form-design/js/uploadfile.js${cacheVersion}"></script> 
 <script type="text/javascript" charset="utf-8" src="${scripts}/tabledefine/ueditor/form-design/js/peopleselect.js${cacheVersion}"></script> 
 <script type="text/javascript" charset="utf-8" src="${scripts}/tabledefine/ueditor/form-design/js/deptselect.js${cacheVersion}"></script> 
 <script type="text/javascript" charset="utf-8" src="${scripts}/tabledefine/ueditor/form-design/js/shopselect.js${cacheVersion}"></script> 
 
 <link href="${scripts}/tabledefine/ueditor/themes/formpage.css" rel="stylesheet" type="text/css">
</head>  
<body>
<input class="mini-hidden" type="hidden"  id="projectName" name="projectName" value="${projectName}" /> 
<form id="form0" method="post">
<input class="mini-hidden" type="hidden"   name="dymcformId" value="${dto.dymcformId}"/>
<input class="mini-hidden" type="hidden"   id="taskId" name="taskId" value="${taskId}" />
<input class="mini-hidden" type="hidden"   id="taskKey" name="taskKey" value="${taskKey}" />
<input class="mini-hidden" type="hidden"   id="workFlowId" name="workFlowId" value="${workFlowId}" />
<input class="mini-hidden" type="hidden"   id="pkvalue" name="pkvalue" value="${id}" />
</form>  
<form id="form1" method="post">
<input class="mini-hidden" id="categoryId" name="categoryId" value="${dto.categoryId}" />
<input class="mini-hidden" id="categoryName" name="categoryName" value="${dto.categoryName}"/>
<input class="mini-hidden" id="tableName" name="tableName" value="${dto.tableName}"/>
<input class="mini-hidden" id="dymcformId" name="dymcformId" value="${dto.dymcformId}"/>
<input class="mini-hidden" id="dymcformName" name="dymcformName" value="${dto.dymcformName}" />
<input class="mini-hidden" id="status" name="status" value="${dto.status}"/>
<input class="mini-hidden" id="htmlValue" name="htmlValue" value=''/>
</form>
<form id="form2" method="post">
<input class="mini-hidden" id="id" name="id" value="${id}"/>
<input class="mini-hidden" id="create_user" name="create_user" />
<input class="mini-hidden" id="create_time" name="create_time" />
<input class="mini-hidden" id="update_user" name="update_user" />
<input class="mini-hidden" id="update_time" name="update_time" />
<input class="mini-hidden" id="version" name="version" />
${dto.htmlCode}
</form>
<c:if test="${not empty taskId}">
	<c:if test='${taskId != "end"}'>
		<div class="btn-con">
		  <button onclick="onClick()">保存</button>
		  <button onclick="onSend()">发送</button>
	  </div>
	</c:if>
</c:if>

</body>
<script src="${scripts}/tabledefine/form.js${cacheVersion}" type="text/javascript"></script>  
</html>  